package cn.iocoder.yudao.module.energy.enums.report;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 能耗上报数据类型枚举
 *
 * @author 芋道源码
 */
@Getter
@AllArgsConstructor
public enum EnergyReportDataTypeEnum {

    VOLTAGE("voltage", "电压"),
    CURRENT("current", "电流"),
    POWER("power", "功率"),
    TEMPERATURE("temperature", "温度"),
    ENERGY_CONSUMPTION("energy_consumption", "能耗");

    /**
     * 类型
     */
    private final String type;
    /**
     * 名称
     */
    private final String name;

} 